package com.mdsi.models;

public class Absence extends Model {

	private Lesson lesson ;
	public Lesson getLesson () { return this.lesson ; }
	
	private Student student ;
	public Student getStudent () { return this.student ; }
	
	private Boolean justify ;
	public Boolean getJustify () { return this.justify ; }
	
	private String justification  ;
	public String getJustification () { return this.justification ; }
	
	private Integer levelJustification ;
	public Integer getLevelJustification () { return this.levelJustification ; }
	
	public Absence (Long id, Lesson lesson, Student student, Boolean justify, String justification, Integer levelJustification) {
		super (id) ;
		this.lesson = lesson ;
		this.student = student ;
		this.student.addAbsence(this) ;
		this.justify = justify ;
		this.justification = justification ;
		this.levelJustification = levelJustification ;
	}
	
}
